Commit
39a840e2c3d added an additional parameter to shell_app_launch().
When adjusting callers, the parameter was also added accidentally to
calls of the confusingly similar g_app_info_launch() ...
Remove those to fix some warnings.
https://bugzilla.gnome.org/show_bug.cgi?id=781471
Gio.AppInfoCreateFlags.SUPPORTS_STARTUP_NOTIFICATION);
let context = global.create_app_launch_context(0, -1);
- app.launch([], context, false);
+ app.launch([], context);
} catch(err) {
_handleSpawnError(argv[0], err);
}
let app = this._getCalendarApp();
if (app.get_id() == 'evolution.desktop')
app = Gio.DesktopAppInfo.new('evolution-calendar.desktop');
- app.launch([], global.create_app_launch_context(0, -1), false);
+ app.launch([], global.create_app_launch_context(0, -1));
},
setDate: function(date) {
try {
retval = app.launch(files,
- global.create_app_launch_context(0, -1),
- false)
+ global.create_app_launch_context(0, -1));
} catch (e) {
log('Unable to launch the application ' + app.get_name()
+ ': ' + e.toString());
// the provider is not compatible with the new version of the interface, launch
// the app itself but warn so we can catch the error in logs
log('Search provider ' + this.appInfo.get_id() + ' does not implement LaunchSearch');
- this.appInfo.launch([], global.create_app_launch_context(0, -1), false);
+ this.appInfo.launch([], global.create_app_launch_context(0, -1));
}
});